package model;

import model.*;
public class Division{
	public String name;
	public Temps temps;
	public Score score;
	public Progression progress;
	public Reussite reussite;
	public Visiteur visit;
	public Achevement end;
	
	public Division(String word){
		this.name = word;
		this.temps = new Temps();
		this.score = new Score();
		this.progress = new Progression();
		this.reussite = new Reussite();
		this.visit = new Visiteur();
		this.end = new Achevement();
	}
	public Division(){
		this.name = "";
		this.temps = new Temps();
		this.score = new Score();
		this.progress = new Progression();
		this.reussite = new Reussite();
		this.visit = new Visiteur();
		this.end = new Achevement();
	}
	
	public void setName(String a){
		name = a;
	}
	public String getName(){
		return name;
	}
	public void setReussite(double a,double b, double c){
		reussite.setSuccess(a, b, c);
	}
	public Reussite getReussite(){
		return reussite;		
	}

	public void setTemps(double a,double b, double c){
		reussite.setSuccess(a, b, c);
	}
	public Temps getTemps(){
		return temps;		
	}

	public void setScore(double a,double b, double c){
		reussite.setSuccess(a, b, c);
	}
	public Score getScore(){
		return score;		
	}

	public void setProgression(double a,double b, double c){
		reussite.setSuccess(a, b, c);
	}
	public Progression getProgression(){
		return progress;		
	}
	public void setVisit(double a,double b, double c){
		reussite.setSuccess(a, b, c);
	}
	public Visiteur getVisit(){
		return visit;		
	}

	public void setAchevement(double a,double b, double c){
		reussite.setSuccess(a, b, c);
	}
	public Achevement getAchevement(){
		return end;		
	}
}